<!DOCTYPE html>
<html lang="en">

<head>

    <{include file="public_html/header_tag.html" }>
        <title><{$school_info.index_seo_title}></title>

</head>

<body>
    <div class="wrap">
        <!--star header-->
        <div class="header">
            <{include file="public_html/header_menu.html" }>
        </div>
        <!--end  header-->
        <!--幻灯片 star-->
        <{if isset($banner_list) AND $banner_list|count > 0}>
        <div class="new_banner c">
            <ul class="rslides f1920x400">
                <{foreach from=$banner_list item=ad_item}>
                <li style="background-image:url(<{$ad_item.ad_image_url}>);">
                    <a href="<{$ad_item.ad_url}>" target="_blank"></a>
                </li>
                <{/foreach}>
            </ul>
            <script type="text/javascript">
                $(function() {
                    $(".f1920x400").responsiveSlides({
                        auto: true,
                        pager: true,
                        nav: true,
                        speed: 700
                    });
                });
            </script>
        </div>
        <{/if}>
        <!--幻灯片 end-->
        <!--star main-->
        <div class="wrap_main fix">
            <!--content star-->
            <div class="col_main">
                <!--star热门视频-->
                <{if 1|in_array:$have_modular_id}>
                <div class="box_item mtcBox m-t30">
                    <!-- i_left star-->
                    <div class="i_left l">
                        <div class="mt">
                            <h2 class="l p-r10"><img src="/static/www/img/ico_2525_video.png"><span class="p-l20 fs16">热门视频课</span></h2>
                            <div class="mtlist">
                            <{foreach from=$course_cate item=cate}>
                                <span><a href="/video/index/0/<{$cate['id']}>/0"><{$cate['name']}></a></span>
                            <{/foreach}>

                            </div>
                            <a class="more r p-r20 c-666666" href="/video">更多</a>
                        </div>
                        <div class="mc index_list_box lh20" style="height:355px;">
                            <div class="">
                                <ul>
                                    <{foreach from=$video_list item=item}>
                                        <li>
                                            <dl>
                                                <dt><a target="_blank" href="/video/detail/<{$item.id}>"><img src="<{$item.course_img}>"></a></dt>
                                                <dd>


                                                    <h2 class="p-tb10">
                                                      <a target="_blank" href="/video/detail/<{$item.id}>" class="fs16"><{$item.title}></a>
                                                      <{if $item.is_free ==1}>
                                                      <a class=" r" style="border:1px solid #ff763f; color:#ff763f; padding:5 5 5 5px;margin:5 5 5 5px;" href="javascript:;">VIP免费</a>
                                                      <{/if}>
                                                    </h2>
                                              
                                                    <p class="c-999999 LH20 h40 oh"><{$item.learn_what}></p>

                                                    <div class="c-666666 p-t15">讲师：
                                                        <{if $item.school_id == 0}><{$item.teacher_name}><{else}><{$item.school_teacher_name}><{/if}><span class="c-ff763f p-l40">&yen;<em class="fs18">
                                                        <{if $item.school_id == 0}><{$item['fx_price']|string_format:"%.2f"}><{else}><{$item['price']|string_format:"%.2f"}><{/if}></em></span></div>
                                                </dd>
                                            </dl>
                                        </li>
                                        <{/foreach}>

                                </ul>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                        </div>
                    </div>
                    <!-- i_left end-->
                    <!-- i_right star-->
                    <div class="i_right r">
                        <div class="mt">
                            <h2 class="l p-r10"><img src="/static/www/img/ico_2525_tip.png"><span class="p-l20 fs16">直播</span></h2></div>
                        <div class="mc LH30 live_notice p-lr15" style="height:355px;">
                        <{if isset($zhibo) }>
                            <div class="n_info">
                                <div class="p-tb5">
                                    <a href="/live/detail/<{$zhibo['id']}>" target="_blank"><img src="<{$zhibo['course_img']}>" width="220" height="110"></a>
                                </div>
                                <div><span class="fs14"><{$zhibo['title']}></span>
                                <a class="btn r" href="javascript:;">
                                <{if $zhibo['live_status']==1}>
                                未开始
                                <{elseif $zhibo['live_status']==2}>
                                直播中
                                <{else}>
                                已结束
                                <{/if}>
                                </a>
                                </div>
                                <div class="c-999999 LH20 p-t5 c">
                                    <p><span class="c-ff763f r">&yen;<em class="fs18"><{$zhibo['price']}></em></span></p>
                                    <p>讲师：<{$zhibo['teacher_name']}></p>
                                </div>
                                <div class="c-999999 LH20 p-t5 c">
                                开始：<{$zhibo[ 'start_time']|date_format: '%Y-%m-%d %H:%M:%S'}><br />
                                                                    结束：<{$zhibo[ 'end_time']|date_format: '%Y-%m-%d %H:%M:%S'}>
                                                                    </div>
                                <div class="c-29a7de">&nbsp;</div>
                                <div class="c-666666 LH20 oh hide" style="height:60px;">初步学会做企业税务的汇算清缴，能分辨企业所得税纳税义务人、征税对象与税率，学会应......。</div>
                            </div>
                            <div class="n_btn tac p-t15 m-t10">
                                <a style="padding:10px 30px;" href="/live/detail/<{$zhibo['id']}>" target="_blank">立即学习</a>
                            </div>
                        <{/if}>
                        </div>
                    </div>
                    <!-- i_right end-->
                </div>
                <{/if}>
                <!--end热门视频-->
                <!--star热门班课-->
                <{if 2|in_array:$have_modular_id}>
                <div class="box_item mtcBox m-t30">
                    <!-- i_left star-->
                    <div class="i_left l">
                        <div class="mt">
                            <h2 class="l p-r10"><img src="/static/www/img/ico_2525_video.png"><span class="p-l20 fs16">热门面授课</span></h2>
                            <div class="mtlist">
                            <{foreach from=$offline_cate_list item=cate}>
                                <span><a href="/banke/index/<{$cate['id']}>"><{$cate['name']}></a></span>
                            <{/foreach}>

                            </div>
                            <a class="more r p-r20 c-666666" href="/banke">更多</a>
                        </div>
                        <div class="mc index_list_box lh20" style="height:355px;">
                            <div class="divitem" style="display:block;">
                                <ul>
                                    <{foreach from=$banke_list item=item}>
                                        <li>
                                            <dl>
                                                <dt><a href="/banke/detail/<{$item['id']}>" target="_blank"><img src="<{$item['course_img']}>" /></a></dt>
                                                <dd>
                                                    <h2 class="p-tb10"><a href="/banke/detail/<{$item['id']}>" target="_blank" class="fs16"><{$item['title']}></a></h2>
                                                    <p class="c-999999 LH20 h40 oh">学校：
                                                        <{$item[ 'school_name']}>
                                                    </p>
                                                    <div class="c-666666 p-t15">课时：
                                                        <{$item[ 'course_time']}>
                                                        <!-- <span class="c-ff763f p-l40">&yen;<em class="fs18"><{$item['price']|string_format:"%.2f"}></em></span> -->
                                                        </div>
                                                </dd>
                                            </dl>
                                        </li>
                                        <{/foreach}>

                                </ul>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                            <div class="divitem">
                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                            <div class="divitem">

                                <p class="tac LH60 p-tb30">暂无数据！</p>
                            </div>
                        </div>
                    </div>
                    <!-- i_left end-->
                    <!-- i_right star-->
                    <div class="i_right r">
                        <div class="mt">
                            <h2 class="l p-r10"><img src="/static/www/img/ico_2525_tip.png"><span class="p-l20 fs16"><{$school_info.school_name}>校区</span></h2>
                            <span style="float:right;"><a href="/school_campus">更多</a></span>
                        </div>
                        <div class="mc LH30 p-lr15" style="height:355px;">
                         <div class="con p-l20">
                                <{foreach from=$index_campus item=uitem}>
                                <dl class="p-t15 fix">
                                    <dd class="l LH20 line-bottom" style="width: 210px;">

                                        <div class="p-t5">
                                          <span class="fs16 c-000000 m-r20"><a href="javascript:;"><{$uitem.name}></a></span>
                                          <span></span>
                                        </div>
                                        <div class=" oh c-666666" style="padding:10px 0 10px 20px;position: relative;">
                                            <img src="/static/www/img/dw.jpg" style="width: 16px; position: absolute; left: 0px; top:13px;">
                                            <{$uitem.address}><{$uitem['tel']}>
                                        </div>

                                    </dd>
                                </dl>
                                <{/foreach}>
                            </div>
                            <!-- <ul class="mingxiaoTJ">
                                <li>
                                    <a href="#"><img src="/static/www/temp/img_150110_01.png"></a>
                                </li>
                                <li>
                                    <a href="#"><img src="/static/www/temp/img_150110_01.png"></a>
                                </li>
                                <li>
                                    <a href="#"><img src="/static/www/temp/img_150110_01.png"></a>
                                </li>
                                <li>
                                    <a href="#"><img src="/static/www/temp/img_150110_01.png"></a>
                                </li>
                                <li>
                                    <a href="#"><img src="/static/www/temp/img_150110_01.png"></a>
                                </li>
                            </ul> -->
                        </div>
                    </div>
                    <!-- i_right end-->
                </div>
                <{/if}>
                <!--end热门班课-->
                <!--star在线题库-->
                <{if 3|in_array:$have_modular_id && $tk_category_list|count > 0}>
                <div class="box_item m-t30" style="overflow:visible;">
                    <!--star-->
                    <div class="mt p-lr10 LH40">
                        <h2 class="l p-r10"><img src="/static/www/img/ico_2525_video.png"><span class="p-l20 fs16">在线题库</span></h2>
                        <span class="p-l20 fs16" style="float: right"><a href="/topic">更多</a></span>
                    </div>
                    <div class="c fix p-t10">
                        <ul class="tac online_list wList33">
                            <{foreach from=$tk_category_list item=item key=key name=foo}>
                            <li style="width:auto;">
                                <dl class="odefault wtwolist" <{if $smarty.foreach.foo.index%3 != 0}>style="margin-left: 60px; margin-right:0px;"<{/if}>>
                                    <dt class="fs22 c-FFFFFF" style="background-image:url(<{if !empty($item.image)}><{$item.image}><{else}><{if $smarty.foreach.foo.iteration%3 == 1}>/static/www/temp/img_360150_01.png<{elseif $smarty.foreach.foo.iteration%3 == 2}>/static/www/temp/img_360150_02.png<{elseif $smarty.foreach.foo.iteration%3 == 0}>/static/www/temp/img_360150_03.png<{/if}><{/if}>);"></dt>
                                    <dd class="fs12 p-lr50">
                                        <{if isset($item.subject)}>
                                            <{foreach from=$item.subject item=sub}>
                                            <span class="wtwls" style="width:100%; padding:20px 0 0 0;"><a href="/user/tiku/practice_index/<{$sub.subject_id}>"><{$sub.title}></a></span>
                                            <{/foreach}>
                                        <{/if}>
                                    </dd>
                                </dl>
                            </li>
                            <{/foreach}>
                        </ul>
                    </div>
                    <!--end-->
                </div>
                <{/if}>
                <!--end在线题库-->

                <{if 9|in_array:$have_modular_id AND isset($shixun_list) AND $shixun_list|count > 0}>
                <div class="box_item m-t30" style="overflow:visible;">
                    <!--star-->
                    <div class="mt p-lr10 LH40">
                        <h2 class="l p-r10"><img src="/static/www/img/ico_2525_video.png"><span class="p-l20 fs16">在线实训</span></h2>
                        <span class="p-l20 fs16" style="float: right"><a href="/shixun">更多</a></span>
                    </div>
                <div class="mc LH25 p-t35">
                    <ul class="wList25 zhentiCC">
                        <{foreach from=$shixun_list item=shixun}>
                        <li class="p-b30">
                        <dl class="line-all">
                            <dt class="img280200 ir">
                                <a href="#"><img src="http://admin.520dax.com<{$shixun.titleImage}>"></a>
                                <!-- <div class="tag">1262人再练习</div> -->
                                <div class="rose">
                                    <div class="wtwolist fs14 tac" style="padding:60px 20px;">
                                        <span class="wtwls shixun"><a class="u2" href="javascript:;" id="<{$shixun.Id}>">立即练习</a></span>
                                        <!-- <span class="wtwls"><a class="u2" href="/shixun/detail/">查看详情</a></span> -->
                                        <span class="wtwls"><a class="u2" href="http://shicao.520dax.com/Default.aspx?zhangtaoID=<{$shixun.Id}>">免费试用</a></span>
                                    </div>
                                </div>
                            </dt>
                            <dd class="fs14 p-lr20">
                                <div class="fs16 h20 oh p-tb10"><{$shixun.ztName}></div>
                                <div class="c-999999 p-t10 h40 oh LH20">
                                    <p><{$shixun.description}></p>
                                </div>
                            </dd>
                        </dl>
                        </li>
                        <{/foreach}>
                    </ul>
                </div>
                </div>
                <{/if}>
                <!--star问答-->
                <{if 4|in_array:$have_modular_id}>
                <div class="box_item m-t30 hide">
                    <!--star-->
                    <div class="mt LH20">&nbsp;</div>
                    <div class="c fix answer_box">
                        <!--star ar_column-->
                        <div class="ar_column l m-r20">
                            <div class="tit p-lr10 tac">
                                <h2 class="fs18 c-FFFFFF LH20 p-t20 p-l10 fwb tal">问答分类</h2><img src="/static/www/img/ico_120100_01.png"></div>
                            <div class="con tac">
                                <dl class="wtwolist">
                                    <dd class="fs12">
                                        <{foreach from=$question_category_list item=cate}>
                                        <span class="wtwls"><a href="/question/index/<{$cate.id}>/1"><{$cate.name}></a></span>
                                        <{/foreach}>
                                    </dd>
                                </dl>
                            </div>
                        </div>
                        <!--end ar_column-->
                        <!--star ar_hotnews-->
                        <div class="ar_hotnews l ">
                            <div class="tit LH25 m-t20 p-l20">
                                <h2><img src="/static/www/img/ico_2525_ask.png"><span class="p-l10 fs16">热门问答</span></h2></div>
                            <div class="con p-lr30">
                                <div class="list01 fix wList50">
                                    <ul>
                                        <{foreach from=$question_list item=qitem}>
                                        <li class="p-t20">
                                            <dl>
                                                <dt class="lft m-r10 u2 oh"><a href=""><{if $qitem.head_image_url != ''}><img src="<{$qitem.head_image_url}>"><{else}><img src="/ask/static/common/avatar-mid-img.png"><{/if}></a></dt>
                                                <dd class="rft LH15">
                                                    <div class="fs10 c-999999"><span>来自话题：</span><span><a href="javascript:;"><{$qitem.tname}></a></span></div>
                                                    <div class="c-666666 h15 oh"><a href="/question/detail/<{$qitem.id}>"><{$qitem.title}></a></div>
                                                </dd>
                                                <dd class="c oh p-t10">
                                                    <div class="lft m-r10 tac"><a href=""><{$qitem.nick}></a></div>
                                                    <div class="rft c-999999 h30 LH15 oh"><{$qitem.a_content}></div>
                                                </dd>
                                            </dl>
                                        </li>
                                        <{/foreach}>
                                    </ul>
                                </div>
                                <div class="list02 fix c m-t20">
                                    <ul class="wList50 p-t20 fix">
                                        <{foreach from=$new_list item=nitem}>
                                        <li>
                                            <p><a href="/news/detail/<{$nitem.id}>"><{$nitem.title}></a></p>
                                        </li>
                                        <{/foreach}>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <!--end ar_hotnews-->
                        <!--star ar_renwu-->
                        <div class="ar_renwu r">
                            <div class="tit h40 b-FAFAFA p-l20 fs16">活跃用户</div>
                            <div class="con p-t20 p-l20">
                                <{foreach from=$ask_user item=uitem}>
                                <dl class="p-t15 fix">
                                    <dt class="ith_img usernane_img46 m-r10 l"><a href=""><{if $uitem.head_image_url != ''}><img src="<{$uitem.head_image_url}>"><{else}><img src="/ask/static/common/avatar-mid-img.png"><{/if}></a></dt>
                                    <dd class="l LH20 p-b15 line-bottom">
                                        <div class="p-t5"><span class="fs16 c-000000 m-r20"><a href=""><{$uitem.nick}></a></span><!-- <span class="c-fe4a02">高级会计讲师</span> --></div>

                                    </dd>
                                </dl>
                                <{/foreach}>
                            </div>
                        </div>
                        <!--end ar_renwu-->
                    </div>
                    <!--end-->
                </div>
                <{/if}>
                <!--end问答-->

            </div>
            <!--content end-->
        </div>
        <!--end  main-->
        <!--star 终生成长-->
        <{if !empty($school_info.grow_up)}>
        <div class="fix hom_bg b-FFFFFF">
            <div class="main p-tb40">
                <!-- <div class="tac LH30">
                    <h2 class="fs22 c-29a7de">终生成长</h2>
                    <p class="m-t10 fs16 c-999999">从上岗到高手，我们全面扶持</p>
                </div> -->
                <img src="<{$school_info.grow_up}>">

            </div>
        </div>
        <{/if}>
        <!--end 终生成长-->
        <!--star 我们的服务-->
        <{if !empty($school_info.service)}>
        <div class="fix hom_bg b-FFFFFF" style="margin-top:30px;">
            <div class="main p-tb40">
                <!-- <div class="tac LH30">
                    <h2 class="fs22 c-29a7de">我们的服务</h2>
                    <p class="m-t10 fs16 c-999999">上岗就晋升，一路贴心为您</p>
                </div> -->
                <img src="<{$school_info.service}>">
            </div>
        </div>
        <{/if}>
        <!--end 我们的服务-->
        <!--star  footer-->
        <div class="footer">
            <{include file="public_html/footer.html" }>
        </div>
        <!--end  footer-->
    </div>
<script>
    $(".shixun").children("a").click(function(){
        var sx_id = $(this).attr("id");
        $.ajax({
            type: "POST",
            url:"/shixun/check_shixun_order",
            dataType:"json",
            data:{'sx_id':sx_id},
            success: function(result){
                // layer.close(ii);
                if(result == 1){
                    location.href="http://shicao.520dax.com/Default.aspx?zhangtaoID="+sx_id;
                }else if(result < 0){
                    location.href="/login";
                }else{
                    $.ajax({
                        type: "POST",
                        url:"/shixun/create_sx_order",
                        dataType:"json",
                        data:{'sx_id':sx_id},
                        success: function(res){
                            // layer.close(ii);
                            if(res > 0){
                                location.href="/order/settle/"+res;
                            }
                        }
                    });
                }
            }
        });
    })
</script>
</body>

</html>
</script>
</body>

</html>
